﻿<UserControl  x:Class="WPFExcelReport.Controls.TBTN"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
              Name="TV"
     >
    <Grid Margin="5"> 
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Button Grid.Row="0" Command="{Binding NewDocCommand}" CommandParameter="{Binding ElementName=TV,Path=KEY}" Height="40" Margin="5,0,0,0" Width="40" BorderBrush="White">
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/new_project.png" />
            </Button.Background>
        </Button>
        <TextBlock Grid.Row="1" Name="bHeader"/>
    </Grid>
</UserControl >
